.message-body {
    .message-scroll {
        height: 500px;
        padding: 15px;
        overflow: auto;
        overflow-y: auto;
        overflow-x: hidden;
        margin-bottom: 15px;

        &::-webkit-scrollbar {
            width: 4px;
        }

        &::-webkit-scrollbar-thumb {
            background-color: #dddddd;
            background-clip: padding-box;
            min-height: 28px;
            border-radius: 2px;

            &:hover {
                background-color: #bbb;
            }
        }

        &::-webkit-scrollbar-track-piece {
            background-color: #f8f8f8;
            border-radius: 2px;
        }

        .message-item {
            margin-top: 10px;

            .message-item-info {
                height: 30px;
                line-height: 30px;

                .message-item-icon {
                    float: left;
                    width: 30px;
                    height: 30px;
                    border-radius: 15px;
                }

                .message-item-name {
                    float: left;
                    font-size: 16px;
                    margin-left: 5px;
                    margin-right: 5px;
                    line-height: 30px;
                }

                .message-item-sentime {
                    float: left;
                    font-size: 12px;
                    margin-top: 10px;
                    margin-left: 5px;
                    margin-right: 5px;
                    color: #c0c0c0;
                    line-height: 20px;
                }
            }

            .message-item-content {
                margin-top: 10px;
                margin-left: 35px;
                margin-right: 35px;
                padding: 8px 10px;
                border-radius: 3px;
                border: 1px solid #e6e6e6;
            }

            &.self {
                .message-item-info {
                    .message-item-icon {
                        float: right;
                    }

                    .message-item-name {
                        float: right;
                    }

                    .message-item-sentime {
                        float: right;
                    }
                }

                .message-item-content {
                    text-align: right;
                }
            }
        }
    }

    .message-form {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        border: 1px solid #eeeeee;

        input {
            background: #ffffff;
            padding-left: 10px;
            outline: none;
            border: 0px;
            flex: 1;
        }

        button {
            margin-top: -1px;
            margin-right: -1px;
            margin-bottom: -1px;
        }
    }
}